package com.woniuxy.background.dao;

import com.woniuxy.background.pojo.Commont;
import com.woniuxy.background.vo.CmtVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface CommontMapper {
    int deleteByPrimaryKey(Integer commontId);

    int insert(Commont record);

    int insertSelective(Commont record);

    Commont selectByPrimaryKey(Integer commontId);

    int updateByPrimaryKeySelective(Commont record);

    int updateByPrimaryKey(Commont record);

    List<Commont> queryCommontByPage(@Param("currentPage") Integer currentPage, @Param("pageSize") Integer pageSize, @Param("vo") CmtVO cmtVo);

    void batchDeleteCmt(List<Integer> list);
}